package com.bwie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbUser;
import com.bwie.service.impl.TbUserServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient(value = "plus-car-item-user",fallback = TbUserServiceImpl.class)
public interface TbUserService  {
    @PostMapping("/user/user/sendCode/{mobile}")
    public R sendCode(@PathVariable(name = "mobile") String mobile);
    @PostMapping("/user/user/TbUserList/{role}")
    public R TbUserList(@PathVariable String role);
}
